package com.hualan.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.beans.Transient;
import java.util.Date;
import java.util.List;

public class PanghuShop {
    /**
     * 店铺id
     */
    private Integer shopId;

    /**
     * 店铺名字
     */
    private String shopName;

    /**
     * 店铺描述
     */
    private String shopDescribe;

    /**
     * 店铺照片
     */
    private String shopImage;

    /**
     * 店铺手机号
     */
    private String shopPhone;

    /**
     * 省
     */
    private String shopProvince;

    /**
     * 市
     */
    private String shopCity;

    /**
     * 区
     */
    private String shopDistrict;

    /**
     * 详细地址
     */
    private String shopAddress;

    /**
     * 经度
     */
    private String shopLongitude;

    /**
     * 纬度
     */
    private String shopLatitude;

    /**
     * 店铺状态  1 上架， 0 下架
     */
    private Integer shopStatus;

    /**
     * 添加时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    /**
     * 店铺用户id
     */
    private Integer shopUserId;

    /**
     * 店铺账号
     */
    private String shopAccount;

    /**
     * 店铺密码
     */
    private String shopPassword;

    /**
     * 店铺排序 数组越大越靠前
     */
    private Integer shopSort;


    /**
     * 店铺销量
     */
    private Integer salesVolume;

    /**
     * 距离
     */
    private Integer distance;

    /**
     * 小区小的店铺排序
     */
    private Integer shopCommunitySort;

    /**
     * 用户关注状态
     */
    private Integer concernStatus;

    // 订单数
    private Integer shopOrderCount;

    /**
     * 店铺类目
     */
    private List<PanghuShopCategory> shopCategoryList;

    // 商品列表
    private List<PanghuShopGoods> shopGoodsList;
	
	private String communityName;
	
	public String getCommunityName() {
		return communityName;
	}
	
	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}

    /**
     * 获取店铺id
     *
     * @return shop_id - 店铺id
     */
    public Integer getShopId() {
        return shopId;
    }

    /**
     * 设置店铺id
     *
     * @param shopId 店铺id
     */
    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    /**
     * 获取店铺名字
     *
     * @return shop_name - 店铺名字
     */
    public String getShopName() {
        return shopName;
    }

    /**
     * 设置店铺名字
     *
     * @param shopName 店铺名字
     */
    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    /**
     * 获取店铺描述
     *
     * @return shop_describe - 店铺描述
     */
    public String getShopDescribe() {
        return shopDescribe;
    }

    /**
     * 设置店铺描述
     *
     * @param shopDescribe 店铺描述
     */
    public void setShopDescribe(String shopDescribe) {
        this.shopDescribe = shopDescribe;
    }

    /**
     * 获取店铺照片
     *
     * @return shop_image - 店铺照片
     */
    public String getShopImage() {
        return shopImage;
    }

    /**
     * 设置店铺照片
     *
     * @param shopImage 店铺照片
     */
    public void setShopImage(String shopImage) {
        this.shopImage = shopImage;
    }

    /**
     * 获取店铺手机号
     *
     * @return shop_phone - 店铺手机号
     */
    public String getShopPhone() {
        return shopPhone;
    }

    /**
     * 设置店铺手机号
     *
     * @param shopPhone 店铺手机号
     */
    public void setShopPhone(String shopPhone) {
        this.shopPhone = shopPhone;
    }

    /**
     * 获取省
     *
     * @return shop_province - 省
     */
    public String getShopProvince() {
        return shopProvince;
    }

    /**
     * 设置省
     *
     * @param shopProvince 省
     */
    public void setShopProvince(String shopProvince) {
        this.shopProvince = shopProvince;
    }

    /**
     * 获取市
     *
     * @return shop_city - 市
     */
    public String getShopCity() {
        return shopCity;
    }

    /**
     * 设置市
     *
     * @param shopCity 市
     */
    public void setShopCity(String shopCity) {
        this.shopCity = shopCity;
    }

    /**
     * 获取区
     *
     * @return shop_district - 区
     */
    public String getShopDistrict() {
        return shopDistrict;
    }

    /**
     * 设置区
     *
     * @param shopDistrict 区
     */
    public void setShopDistrict(String shopDistrict) {
        this.shopDistrict = shopDistrict;
    }

    /**
     * 获取详细地址
     *
     * @return shop_address - 详细地址
     */
    public String getShopAddress() {
        return shopAddress;
    }

    /**
     * 设置详细地址
     *
     * @param shopAddress 详细地址
     */
    public void setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
    }

    /**
     * 获取经度
     *
     * @return shop_longitude - 经度
     */
    public String getShopLongitude() {
        return shopLongitude;
    }

    /**
     * 设置经度
     *
     * @param shopLongitude 经度
     */
    public void setShopLongitude(String shopLongitude) {
        this.shopLongitude = shopLongitude;
    }

    /**
     * 获取纬度
     *
     * @return shop_latitude - 纬度
     */
    public String getShopLatitude() {
        return shopLatitude;
    }

    /**
     * 设置纬度
     *
     * @param shopLatitude 纬度
     */
    public void setShopLatitude(String shopLatitude) {
        this.shopLatitude = shopLatitude;
    }

    /**
     * 获取店铺状态  1 上架， 0 下架
     *
     * @return shop_status - 店铺状态  1 上架， 0 下架
     */
    public Integer getShopStatus() {
        return shopStatus;
    }

    /**
     * 设置店铺状态  1 上架， 0 下架
     *
     * @param shopStatus 店铺状态  1 上架， 0 下架
     */
    public void setShopStatus(Integer shopStatus) {
        this.shopStatus = shopStatus;
    }

    /**
     * 获取添加时间
     *
     * @return add_time - 添加时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * 设置添加时间
     *
     * @param addTime 添加时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取店铺用户id
     *
     * @return shop_user_id - 店铺用户id
     */
    public Integer getShopUserId() {
        return shopUserId;
    }

    /**
     * 设置店铺用户id
     *
     * @param shopUserId 店铺用户id
     */
    public void setShopUserId(Integer shopUserId) {
        this.shopUserId = shopUserId;
    }

    /**
     * 获取店铺账号
     *
     * @return shop_account - 店铺账号
     */
    public String getShopAccount() {
        return shopAccount;
    }

    /**
     * 设置店铺账号
     *
     * @param shopAccount 店铺账号
     */
    public void setShopAccount(String shopAccount) {
        this.shopAccount = shopAccount;
    }

    /**
     * 获取店铺密码
     *
     * @return shop_password - 店铺密码
     */
    public String getShopPassword() {
        return shopPassword;
    }

    /**
     * 设置店铺密码
     *
     * @param shopPassword 店铺密码
     */
    public void setShopPassword(String shopPassword) {
        this.shopPassword = shopPassword;
    }

    /**
     * 获取店铺排序 数组越大越靠前
     *
     * @return shop_sort - 店铺排序 数组越大越靠前
     */
    public Integer getShopSort() {
        return shopSort;
    }

    /**
     * 设置店铺排序 数组越大越靠前
     *
     * @param shopSort 店铺排序 数组越大越靠前
     */
    public void setShopSort(Integer shopSort) {
        this.shopSort = shopSort;
    }

    public Integer getSalesVolume() {
        return salesVolume;
    }

    public void setSalesVolume(Integer salesVolume) {
        this.salesVolume = salesVolume;
    }

    public Integer getDistance() {
        return distance;
    }

    public void setDistance(Integer distance) {
        this.distance = distance;
    }

    public Integer getConcernStatus() {
        return concernStatus;
    }

    public void setConcernStatus(Integer concernStatus) {
        this.concernStatus = concernStatus;
    }

    public List<PanghuShopCategory> getShopCategoryList() {
        return shopCategoryList;
    }

    public void setShopCategoryList(List<PanghuShopCategory> shopCategoryList) {
        this.shopCategoryList = shopCategoryList;
    }

    public List<PanghuShopGoods> getShopGoodsList() {
        return shopGoodsList;
    }

    public void setShopGoodsList(List<PanghuShopGoods> shopGoodsList) {
        this.shopGoodsList = shopGoodsList;
    }

    public Integer getShopCommunitySort() {
        return shopCommunitySort;
    }

    public void setShopCommunitySort(Integer shopCommunitySort) {
        this.shopCommunitySort = shopCommunitySort;
    }

    public Integer getShopOrderCount() {
        return shopOrderCount;
    }

    public void setShopOrderCount(Integer shopOrderCount) {
        this.shopOrderCount = shopOrderCount;
    }
	@Override
	public String toString() {
		return "PanghuShop{" +
				       "shopId=" + shopId +
				       ", shopName='" + shopName + '\'' +
				       ", shopDescribe='" + shopDescribe + '\'' +
				       ", shopImage='" + shopImage + '\'' +
				       ", shopPhone='" + shopPhone + '\'' +
				       ", shopProvince='" + shopProvince + '\'' +
				       ", shopCity='" + shopCity + '\'' +
				       ", shopDistrict='" + shopDistrict + '\'' +
				       ", shopAddress='" + shopAddress + '\'' +
				       ", shopLongitude='" + shopLongitude + '\'' +
				       ", shopLatitude='" + shopLatitude + '\'' +
				       ", shopStatus=" + shopStatus +
				       ", addTime=" + addTime +
				       ", shopUserId=" + shopUserId +
				       ", shopAccount='" + shopAccount + '\'' +
				       ", shopPassword='" + shopPassword + '\'' +
				       ", shopSort=" + shopSort +
				       ", salesVolume=" + salesVolume +
				       ", distance=" + distance +
				       ", shopCommunitySort=" + shopCommunitySort +
				       ", concernStatus=" + concernStatus +
				       ", shopOrderCount=" + shopOrderCount +
				       ", shopCategoryList=" + shopCategoryList +
				       ", shopGoodsList=" + shopGoodsList +
				       '}';
	}
}




